﻿/*+===================================================================
File:      BossThreeDoor.h

Summary:   Định nghĩa lớp CBossDoor
===================================================================+*/
#pragma once

#include "BossThree.h"
#include "ExplosionGroup.h"

class CBossThreeDoor: public CMoveableObject
{
private:
	CBossThree* m_pBossThree;
	CExplosionGroup* m_pExplosionGroup;
	vector<D3DXVECTOR2> m_aPosEx;
	float m_fTimeDie;
	CSprite* m_pDieSprite;
public:
	CBossThreeDoor(D3DXVECTOR2 pos, int id, int typeID);
	~CBossThreeDoor();
	
	void Update(float timeFrame);

	void UpdateCollision(vector<CGameObject*> vecGameObjs, float timeFrame);

	void Draw();

	void Born();

	void Explode(float timeFrame);
};